<?php
/**
 * @Notes:【】
 * @Date: 2022-06-17 0:50
 */

namespace App\Listener;

use Hyperf\Database\Query\Builder;
use Hyperf\DbConnection\Db;
use Hyperf\Event\Contract\ListenerInterface;

use Hyperf\Database\Events\QueryExecuted;
use Hyperf\Event\Annotation\Listener;

use Hyperf\Framework\Event\AfterWorkerStart;
use Hyperf\Framework\Event\BeforeWorkerStart;
use Hyperf\Logger\LoggerFactory;
use Hyperf\Server\ServerFactory;
use Hyperf\Server\ServerManager;
use Hyperf\Utils\Arr;
use Hyperf\Utils\Str;
use Jaeger\Cache;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;

/**
 * @Listener
 */
class WorkerStartListener implements ListenerInterface
{

    public function listen(): array
    {
        return [
            BeforeWorkerStart::class,
        ];
    }


    public function process(object $event)
    {

    }
}